package UnidadeTeste;

import org.junit.Test;

import logica.LogicaEasyAcept;

public class CriarApotadorTeste {

	public LogicaEasyAcept logicaEasyAccept = new LogicaEasyAcept ();

	@Test
	public void test() {
		try {
			logicaEasyAccept.criarApostador("jairo@ffm.com.br", "12345", "jairo", "000.000.000.33", "fip", "4");
		} catch (Exception e) {
			System.out.println(e.getMessage());
		}
		try {
			logicaEasyAccept.criarApostador("", "123456", "jairo", "000.000.000.33", "fip", "4");
		} catch (Exception e) {
			System.out.println(e.getMessage());
		}
		try {
			logicaEasyAccept.criarApostador(null, "123456", "jairo", "000.000.000.33", "fip", "4");
		} catch (Exception e) {
			System.out.println(e.getMessage());
		}
		try {
			logicaEasyAccept.criarApostador("jairo@ffm.com.br", "123456", "jairo", "000.000.000.33", "fip", "4");
		} catch (Exception e) {
			System.out.println(e.getMessage());
		}
	}



}
